package com.ross.mode.pay;

import com.ross.mode.channel.IPayMode;
import lombok.extern.slf4j.Slf4j;

import java.math.BigDecimal;

/**
 * @version 1.0.0
 * @className: Pay
 * @description:
 * @author: zhangjunfa
 * @date: 2023/4/4 16:10
 */
@Slf4j
public abstract class Pay {
    protected IPayMode payMode;

    public Pay(IPayMode payMode) {
        this.payMode = payMode;
    }

    public abstract String transfer(String uId, String tradeId, BigDecimal amount);
}
